package com.mangatta.ec2.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.mangatta.ec2.service.Ec2DataPullerService;

public class BootReceiver extends BroadcastReceiver {
    private final static String TAG = BootReceiver.class.getSimpleName();

    @Override
    public void onReceive(Context context, Intent intent) {
        context.startService(new Intent(context, Ec2DataPullerService.class));
        Log.d(TAG, "onReceived");
    }
}
